<?php
/**
* template.class.php
*
* @package adServer
*/

class template{
    public $templateHtml; 
	
	/**
	 * Constructor
	 * 
	 */
	function template($templateLocation){
        /* Load the template */
        $this->templateHtml=@file_get_contents($templateLocation);       	   
	}

    function replace($search,$replace){
        $this->templateHtml=str_replace($search,$replace,$this->templateHtml);
        return $this->templateHtml;  
    }
    
    function addSelectOptionsFromArray($replaceString,$arrayName,$valueParam,$tagValue){
        
    }
    
}
?>